
 import React, { PureComponent } from 'react';
 import {withRouter} from "react-router-dom";
 import PageBackHeader from "@common/PageBackHeader";
 import PageSubNav from "@common/PageSubNav";
 
 @withRouter
 class PaymentPage extends PureComponent {
     render () {
         const { children } = this.props
 
         return (
             <div className="bilin-web">
                 <PageBackHeader title="收款" backUrl="/main"/>
                 <PageSubNav
                     navInfoList={[
                         {
                             path: 'payment',
                             name: '收款账号',
                             subRoutes: [
                                {
                                    path: 'payment/wechat',
                                    name: '微信支付',
                                },
                                {
                                    path: 'payment/alipay',
                                    name: '支付宝支付',
                                }
                             ]
                         }, {
                             path: 'payment/config',
                             name: '收款配置',
                         }
                     ]}
                 />
                 <div className="bilin-web-right sub">
                     { children }
                 </div>
             </div>
         )
     }
 }
 
 export default PaymentPage